/*jslint sloppy: true */
/*global require */
var angular = require('angular');
var LM = require('../global');
require('./welcome.less');
require('./page.html');

LM.controller('Welcome', function ($scope, $routeParams) {
	$scope.queryConfig.clear().setActive();
	$scope.navConfig.setHref('#/project').setType('project');

	var view = angular.element(document.querySelector('#view')).removeClass('container');
	$scope.$on('$destroy', function () { view.addClass('container'); });
});
